@Override
    public int compareTo(ConfigModelId other) {
        if (other == this) return 0;
        int cmp = this.name.compareTo(other.name);
        if (cmp == 0) {
            cmp = this.version.compareTo(other.version);
        }
        return cmp;
    }
Create id with given name, using default version 1.

@param tagName Name of the id
@return a ConfigModelId instance
config-model/src/main/java/com/yahoo/config/model/builder/xml/ConfigModelId.java