Playing with types

Playing with the idea of an Attribute to define the ID of of a type.
might change this to a dictionary to keep the model clean.