getter for deviceId