Modified the GroupBy clause generator to split on '.' so that table prefixed fields will be escaped/quoted seperately.