Fix parsing of reference fields.
Remove fieldsByName from ComplexType, replacing with HAS_FIELD properties.