Automatic Update of Variable Names in openUrl Calls

Automatic Update of Variable Names in openUrl Calls

If Deluge enables the name of a variable to be read then the openUrl Deluge statements could automatically update if Form and/or Field names changed. e.g. where DelugeName() is this mythical function

openUrl("#View:" + Form_Report.DelugeName() + "?" + Field_1.DelugeName() + "=" + input.Pass_Variable1 + "&"  + Field_2.DelugeName() + "=" + input.Pass_Variable2 , "Same window");

Is this possible? If not could it be done? Does it make any sense or is it a daft idea?