ENH: Ensure scripted module and scripted module widget are named.

Naming object is helpful when both introspecting/debugging the application
or when recording QtTesting macros.

See #2808

Co-authored-by: Chrystel Juan <chrystel.juan@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22359 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Ensure editor objects and widgets are all named

Doing so will make the debugging of QtTesting macro easier and less
confusing.

See #2808

Co-authored-by: Chrystel Juan <chrystel.juan@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22360 3bd1e089-480b-0410-8dfb-8563597acbee