static List<String> parseScopedValuePath(SimpleParser parser) {
        parser.expect('@');
        parser.expect('{');
        // parse at least one path segment, followed by any number of
        // comma separated segments.
        List<String> path = new ArrayList<>();
        path.add(parseSelectorPathSegment(parser));
        path.addAll(parseSelectorPath(parser));
        parser.expect('}');
        return path;
    }
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