Sets the name attribute to the last part of the path attribute.
A path such as /char/body/arm gives the name arm. Handy after importing geometry whose pieces carry paths but no names.
Geometry with a path attribute.
The geometry with name set.