get tenant id from device id for ios