public static function getUniqueString($prefix = '', $hashed = false)
    {
        $unique = uniqid($prefix, true);

        if ($hashed) {
            return sha1($unique);
        }

        return $unique;
    }