if (hook._type === "label" && hook.getEntity().dim === key) {
          names.label = name;
        }