My understanding is to put your toons into ATG's called the class/spec.

The macro will do whatever, for toons who are in the appropriate group.
So if your toon is in the enhance shaman group, it does the enh-shaman macros, but none of the others.

Then you build the macro for all classes in one place.
And can mix/match toons across teams freely.
Without changing much, if anything, for their DPS at least.