ir: Add retrieveAttribute function.
ir: Add qualified name utility constructor.
semantic: Stub out getTraitsExpType.
ir: Make UserAttribute a type.