Workaround the dom_id NoMethodError.