Renaming name of attributes to attributeId