Smart HitTest as

Hi, I’m duplicating 2 different movie clips “rock” and “enemy”. I want to check when they collide… but the problem with normal hittesting is that I can’t get a target because duplicated movieclips are named rock1, rock2, rock3, etc… so it keeps changing and those instance names arent detected by the script. So what can I do? is there a way to make all the duplicted movieclips have the same instance name?