Move function filetable_ids from amwg.py to id.py.
Use the filetable_ids() function to get good string ids for any filetable (even if None).
Change xvars,xfunc to zvar,zfunc because last week I had eliminated the x*,y* variables in plot specifications.