public Optional<Type> get(Identifier name) {
        if (shape.containsKey(name)) {
            return Optional.of(shape.get(name));
        } else {
            return Optional.empty();
        }
    }
Gets the type for the specified identifier.

@param name the identifier to get the type of.
@return the type of the specified identifier.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/evaluation/type/RecordType.java