@Override
    protected QueryProfile createSubProfile(String name, DimensionBinding dimensionBinding) {
        Object backing = backingProfile.lookup(new CompoundName(name),
                                               true,
                                               dimensionBinding.createFor(backingProfile.getDimensions()));
        if (backing instanceof QueryProfile)
            return new BackedOverridableQueryProfile((QueryProfile)backing);
        else
            return new OverridableQueryProfile(getOwner()); // Nothing is set in this branch, so nothing to override, but need override checking
    }
Creates an overridable profile from the given backing profile. The backing profile will never be
written to.

@param backingProfile the backing profile, which is assumed read only, never null
container-search/src/main/java/com/yahoo/search/query/profile/BackedOverridableQueryProfile.java