public function returnId($entity = null)
	{
	    if (substr ($entity, 0, 1) == "/") {
	        $entityID = $this->pathId($entity);
	    } else {
	        $entityID = $this->titleId($entity);
	    }

	    return $entityID;
	}