Supply id for define() function

Otherwise AMD complains with "Mismatched anonymous define() ..." (http://requirejs.org/docs/errors.html#mismatch)