Demos: Give each flipswitch a unique ID

Fixes gh-6956