sql2 generator add square brackets when needed. fix #13