public function getDirtyAttribute($name)
    {
        $result = null;

        if ($this->dirtyAttributeExists($name)) {
            $result = $this->dirtyAttributes[$name];
        }

        return $result;
    }