agg_label function

Helper function for aggregate_rsyntax