At some point we should consolidate all of this logic. There seems to be a lot of shared logic looking at type encodings in the Core Data/Introspection/View code. Just a TODO for later.