- get widget's DOM ID to have the instance template as prefix - keep widget.id as what's in the template, matching legacy - widget.dom_id gives the DOM ID, matching legacy