private static String parseAttributeValue(SimpleParser parser) {
        parser.ws();

        switch (parser.peek()) {
            case '\'':
                return consumeInside(parser, '\'');
            case '"':
                return consumeInside(parser, '"');
            case '-':
            case '0':
            case '1':
            case '2':
            case '3':
            case '4':
            case '5':
            case '6':
            case '7':
            case '8':
            case '9':
                return ParserUtils.parseNumber(parser);
            default:
                return ParserUtils.parseRootShapeId(parser);
        }
    }
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