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

Irvin, can you merge this into your branch and squash? That should automatically update your PR against wycats.