public function addPathById($strId)
    {
        // Check if empty.
        if (empty($strId)) {
            return $this;
        }

        if (!Validator::isBinaryUuid($strId)) {
            $this->pendingIds[] = StringUtil::uuidToBin($strId);
            return $this;
        }

        $this->pendingIds[] = $strId;
        return $this;
    }