Use widget's id as its __hash__.
Merge pull request #1432 from Ian-Foote/widget_hash

Use widget's id as its __hash__.