aggregate now supports aggregation by non-integer attributes with index_lookup