fix(codegen): Binds map:/chain: function arguments
fix(codegen): Binds map:/chain: function arguments

Previously they were not bound, causing any reference to `this` in do
notation to resolve to the global scope.

siren-lang/siren,mermaid-language/mermaid