I believe there are unit frame mods out there that will let you specify what you are asking, but why would you want to. At first I thought you were trying to do something I did myself, which was setup healing macros based on unit frame instead of char name. That way, whatever toon is in the second slot, you always use the same button to heal them. Is this not what you are doing?