Translates an NameListType_t instance to a compound attribute definition instance and then gives the compound attribute definition the name name. Returns the allocated compound attribute definition upon success or NULL upon failure.