First is a phase, a 400 is a priority. The phase and Priority of eval scripts determines what order they occur on a character. Add an eval script to your archetype at that phase and priority which assigns the tag to the class it is affecting. For example
First 400
Code:
doneif (islinkage[varies] = 0)
perform linkage[varies].assign[CompAvail.WHATEVERTHETAGIDONYOURCOMPANIONIS]
Obvously, change the all caps appropriately.