BeaconInfo when using ranging

Hi

Can anyone help with the following:

a) How can I derive BeaconInfo directly together with the MacAddress and Major and Minor info?
b) Is Major and Minor info good enough to identify a beacon or Macaddress is better.

Thanks