Check attribute validity and return null on empty but valid attributes
Make 'name' a property rather than a function
Use camel case for all trait attribute names