Supply id for define() function

Otherwise, after minification AMD complains with [Mismatched anonymous define() ...](http://requirejs.org/docs/errors.html#mismatch).