public Model renameShapes(
            Model model,
            Map<ShapeId, ShapeId> renamed
    ) {
        return this.renameShapes(model, renamed, () -> Model.assembler().disableValidation());
    }
Renames shapes using ShapeId pairs while ensuring that the
 transformed model is in a consistent state.

 <p>This transformer ensures that when an aggregate shape is renamed, all
 members are updated in the model.

@param model Model to transform.
@param renamed Map of shapeIds
@return Returns the transformed model.base.
smithy-model/src/main/java/software/amazon/smithy/model/transform/ModelTransformer.java