Gets the local name of the URI of this resource
The local name is defined as the part of the URI string after the last occurrence of the '#', ':' or '/' character.
string The local name
public function localName() {
if (preg_match("|([^#:/]+)\$|", $this->uri, $matches)) {
return $matches[1];
}
}