attribute names were being looked up incorrectly (ROLE_NAME -> ATTRIBUTE_NAME)