private int createId() {
        //TODO: This should be Java's hashCode(), since all other data types use it, and using something else here will probably lead to collisions
        return getName().toLowerCase().hashCode();
    }
Creates an AnnotationReferenceDataType. WARNING! Do not use!
document/src/main/java/com/yahoo/document/annotation/AnnotationReferenceDataType.java