Add a much more efficient Ord instance for Type
Store Struct names as Text

This gives much more efficient comparisons and hashing