Try to get the mobile device ID automatically if not user-provided.