Implementing ability to switch to a frame by id or name in WDBS. Fixes issue 6294