protected QueryProfile createSubProfile(String name, DimensionBinding dimensionBinding) {
        var id = owner != null ? owner.createAnonymousId(name) : ComponentId.createAnonymousComponentId(name);
        return new QueryProfile(id, source, owner);
    }
Looks up all inherited profiles and adds any that matches this name.
This default implementation returns an empty profile.
container-search/src/main/java/com/yahoo/search/query/profile/QueryProfile.java