It's something you really just have to practice to get down, took me forever when I first learned it. Do the ID and follow-ups as fast as you can, and immediately perform a dash input and then 3C.
Keep in mind, heavily prorated combos will prevent this from working, as they will shorten the untech time on the Straight Punch. For ease, do the C version of ID at the end of combos.