[Feature Request] Naming variables

In some cases variables of the same name that are in different components can cause a corruption issue in the file.

It seems there might be some variable scoping bugs

I would recommend scoping variables in the names