docs: private int findSid(SymbolToken symToken)
      {
          int sid = symToken.getSid();
          String text = symToken.getText();
  
          if (sid != UNKNOWN_SYMBOL_ID)   // sid is assigned
          {
              assert text == null ||
                     text.equals(mySymbolTable.findKnownSymbol(sid));
          }
          else                            // sid is not assigned
          {
              if (mySymbolTable.isSystemTable())
              {
                  // Replace current symtab with a new local symbol table
                  // using the default system symtab
                  mySymbolTable = myIonSystem.newLocalSymbolTable();
              }
  
              // Intern the new symbol and get its assigned sid
              sid = mySymbolTable.intern(text).getSid();
          }
  
          return sid;
      }