public function getLastCategoryId()
    {
        $value = $this->getData();

        if ($this->flashed === true) {
            // Clear data
            $this->clearData();
        }

        return $value;
    }