public VersionSpecification getVersionSpecification() {
        return spec.version;
    }
Returns the version of this id, or null if no version is specified
component/src/main/java/com/yahoo/component/ComponentSpecification.java