Let Attribute subclasses register themselves
Simplify attribute name inference