use a class attribute to store valid attribute names for faster lookup
this approach initializes the attribute array at class definition time and reduces parent class lookups