protected function quoteSpecialName($name)
    {
        //If user already back ticked, return the original string
        if ($name[0] == '`' && $name[mb_strlen($name) - 1] == '`') return $name;

        //Back tick string
        $name = '`' . $name . '`';

        //Check if its a qualified table name, if so escape around the dot as well
        $name = str_replace('.', '`.`', $name);

        return $name;
    }