Added HasTypeId trait
Merge pull request #20 from Vaelden/type_ids

Added HasTypeId trait