Add trivial environmental scoping for identifiers replacing