handling attributes

treating attributes as first class citizens and saving as items.
Linking attribute ids to the parent item.