normalize aggregate function names.