private boolean namespaceMatch(ComponentId otherNamespace) {
        if (getNamespace() == otherNamespace) {
            return true;
        } else if (getNamespace() == null || otherNamespace == null){
            return false;
        } else {
            return getNamespace().equals(otherNamespace);
        }
    }
Returns a copy of this spec with namespace set to null *
component/src/main/java/com/yahoo/component/ComponentSpecification.java