added a way to get the device identifier