Support unique ids for device events. Added adapter for plugging in
facades on top of device management.