I agree with you about the scope of the variable at all levels. I voted.
However, you mention the fact of ‹ redefining a variable ›, but I don’t think it will work: even if you give it the same name, gladys will make a difference between the variable {{ 1.1 variable }} and {{ 3.1 variable }}. So on this point, it’s the request to be able to modify a variable that will help:
Maybe it would be useful to treat both together?