lookUpDomId(i) {
    const a = v.sanitizeText(i, F());
    if (this.classes.has(a))
      return this.classes.get(a).domId;
    throw new Error("Class not found: " + a);
  }
Function to lookup domId from id in the graph definition.

@param id - class ID to lookup
@public