Looking to obtain bluetooth Device ID from the device scanning for bluetooth devices

I wish to obtain the device id that is scanning for bluetooth devices. Currently I can get the device ids of surrounding devices, although I want to id of the device that is doing the scanning.