Handle method or defined column names e.g. X AS Y or COUNT(*)
Fixes T184