private String getShapeName(ServiceShape serviceShape, Shape shape) {
        if (shape.isServiceShape()) {
            return shape.getTrait(TitleTrait.class)
                    .map(StringTrait::getValue)
                    .orElse(shape.getId().getName());
        }
        if (shape.isMemberShape()) {
            return toMemberName(shape.asMemberShape().get());
        } else {
            return shape.getId().getName(serviceShape);
        }
    }
Constructor.

@param model The model to provide symbols for.
@param docSettings Settings used to customize symbol creation.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/DocSymbolProvider.java