@Override
    public SelectorSyntaxException syntax(String message) {
        return new SelectorSyntaxException(message, input().toString(), position(), line(), column());
    }
Filter out unnecessary identity selectors when creating the finalized AST to evaluate selectors.
smithy-model/src/main/java/software/amazon/smithy/model/selector/SelectorParser.java