We do have this to a certain extent now, though - file scope is a thing in some languages.
I'll give up my plan to write a neovim plugin for scope management, though ;)