docs: public Selector resolve(Identifier id, PositionAssigner positionAssigner) {
      positionAssigner.assign(id);
      // set the selector domain into the identifier
      id.setSelectorDomain(selectorDomain.toInt());
      return id;
    }