Generalized Igusa functions and ideal growth in nilpotent Lie rings