Avoid model id collisions when two types have the same name