using UUID for element id

also changing isSelected for native elements to look at isChecked without reflection