fix prelude name lookup for parent

If no id mapped in current scope, call require with original id and it
will call up to parent require if there is one.