get_all_devices_id function added. Returns list of just the device id's in order