Switch from code to identifier as identifier field for attribute objects