role Metamodel::Naming { }
Metamodel role for (optionally) named things, like classes, roles and enums.
method name($type)
Returns the name of the metaobject, if any.
say 42.^name;
method set_name($type, $new_name)
Sets the new name of the metaobject.