added 'attributecontains' function
idl: consistency.  Added "Attribute<T>" and "AttributePart<T>"