If you want each alias to be local to the script file that it is in, you can use the -l (lowercase L) switch when declaring the alias. Example:

alias -l _ { return ... }

The above alias would only be accessible from within its script file. Each script can then have its own _ alias without interfering with the _ aliases in other script files.