You need to define this instance variable on the family. That's what families are for. Then you can get the value from the touched member of the family by comparing Family instance variable, or Family.myInstanceVar in expressions.
If for some reason you still need to know the object name, use Family.ObjectTypeName expression.