Why isn't this just an instance method of URIish, calling getPath() itself internally?

Also, I wonder if "getBaseName()" or "getName()" isn't more suitable as a name for this method.  The former mirrors with the UNIX basename utility, while the latter mirrors more with java.io.File or IResource API.