Metaobject that supports named types
Warning: this role is part of the Rakudo implementation, and is not a part of the language specification.
Metamodel role for (optionally) named things, like classes, roles and enums.
Returns the name of the metaobject, if any.
say 42.^name; # OUTPUT: «Int␤»
method set_name(, )
Sets the new name of the metaobject.