public function getUniqueName()
    {
        if (!is_null($this->name))
            return $this->name;

        $ext = strtolower($this->getExtension());

        $name = str_replace('.', '', uniqid(null, TRUE));
        return $this->name = $name.(strlen($ext) ? '.'.$ext : '');
    }