Get the type id of RPM units from the id's file instead of the model so ...

...that builds don't break on rhel5