private int getId() {
    int id = IdentifierHighlighterPass.id;
    if (id == 0) {
      TextEditorHighlightingPassRegistrarImpl registrar =
        (TextEditorHighlightingPassRegistrarImpl)TextEditorHighlightingPassRegistrar.getInstance(myFile.getProject());
      synchronized (IdentifierHighlighterPass.class) {
        id = IdentifierHighlighterPass.id;
        if (id == 0) {
          IdentifierHighlighterPass.id = id = registrar.getNextAvailableId();
        }
      }
    }
    return id;
  }
private int getId()