Improved name special chars escapping for MySQL