Add Id et Base class

   Add an Id class for all Transition, State and machine class with a
   uniq ID.
   Add a Base class, to refer to the Id and name of object.