Get beacon identifier android

I am using the hardware revision G and I want to access the beacon identifier as I do in iOS SDK.

In the function for swift:

func deviceManager(_ manager: ESTDeviceManager, didDiscover devices: [ESTDevice])

I can get the identifier of the beacon

But in the android function:

beaconManager.setRangingListener(new BeaconManager.RangingListener() { @Override public void onBeaconsDiscovered(Region region, List<Beacon> list) { } });

I can not get the beacon identifier, only the mac address.

I am trying to detect the beacons in both platforms and want to match some value.