Implement module.id

I can't think of any non-trivial tests for this
Implement module.require() (with test)