Add TypeId support in code. So reference types can be "reflected" in future if they wil use this type information