add alternative method for specifying an attribute

Instead of using method missing, use a class method that takes a
attribute name as a symbol