If you are going to change the create attribute function can it also be changed to use the acs_object_id_seq instead of acs_attribute_id_seq. I don't think the change would make any difference on new installs and on upgrades the chances of a conflict are small because the object_id_seq number will almost always be much greater acs_attribute_id_seq. By making this change it would be very easy to make acs_attributes acs_objects by just populating the acs_object table.