add backticks to quote table names

If given table name matches a MySQL keyword, a backtick is necessary.