You cannot get the device name at the moment, see this thread: How best to get the device name after receiving a message?