Supply id for define() function

Otherwise AMD complains with "Mismatched anonymous define() ..." (http://requirejs.org/docs/errors.html#mismatch)
Merge pull request #288 from Sija/patch-1

Supply id for define() function