public ShapeId expectShapeId() {
        try {
            return ShapeId.from(getValue());
        } catch (ShapeIdSyntaxException e) {
            throw new SourceException(e.getMessage(), this);
        }
    }
Expects that the value of the string is a fully-qualified Shape ID.

@return Returns the parsed Shape ID.
smithy-model/src/main/java/software/amazon/smithy/model/node/StringNode.java