Fixed problem with ids not working correctly on enum attributes.