Add shortcut to find attribute

Generating attributes -> get an attribute is slow.