Returns the name of the element without path.
public function getName() : string { return $this->name; }