Catalog: Set id of items added from classpath to typename

Keeps backwards compatability