A command that can return the name of the current scope can be useful for debugging purposes:
for example:
call { scopeName "scope"; diag_log diag_scopeName }
command syntax:
diag_scopeName;
returns the name of the current scope ("" if not set with scopeName)