Adds support for a module_id_generator option, to allow naming of AMD modules.