Added method to get a nodes localname

Added method to retrieve the localname for a node from a given path.
this is an invalid name. i would not have a test for this situation. (if anything, this should lead to an exception)