Where is name defined in image_effect_info_alter(&$effects)?
First of all: I think the alter method should not exist if this is the easier way.

Call hook_image_effect_info() and just pass 


  label, help, effect callback, dimension callback and form callback


this way it won't ask for 


  name