more descriptive NameError's messages for class attributes