@Override
  public @Nullable String getBaseContextId() {
    if (contextId == null) {
      TemplateContextType instance = getInstance();
      TemplateContextType baseContextType = instance.getBaseContextType();
      return baseContextType != null ? baseContextType.myContextId : null;
    }

    if (EVERYWHERE_CONTEXT_ID.equals(contextId)) return null;

    return baseContextId == null ? EVERYWHERE_CONTEXT_ID : baseContextId;
  }
@Override
  public @Nullable String getBaseContextId()