node.js: added id argument to require.resolve()

method is a bit useless with it :)