Quote atoms when needed, must special case ,

The quoting is too simple and cannot handle characters in atom whcih
need to be backquoted.