Searches for an attribute definition with a specified name for the entity definition and all its supertypes. The search proceeds in reversed order.
A smart pointer to the found attribute definition; if the attribute is not found then a NULL smart pointer is returned.
The search of an attribute is performed starting from this entity definition towards its supertypes.