@Override
    public Class<? extends ReferenceFieldValue> getValueClass() {
        return ReferenceFieldValue.class;
    }
Creates a new type where the numeric ID is based on the hash of targetType
document/src/main/java/com/yahoo/document/ReferenceDataType.java