The BID that is given can be converted to the Cell ID and Sector ID.
Here is the methodology of each vendor:
Base Id is obtained as a Decimal number from the System Parameters message. This is converted to Hex Decimal number. This is again converted to a 16 digit binary number. This binary number is used for cell ID and sector ID identification.
Lucent:
The first 4 bits and the last 8 bits together are the cell ID and the middle 5th, 6th , 7th and 8th bits are the sector ID.
Nortel:
The first 12 bits are the cell ID and the last 4 bits are the sector ID.
Motorola:
The first 13 bits are the cell ID and the last 3 bits are the sector ID.
Example:
Consider 5059 for the Base ID in decimal format from System Parameters message.
5059 (Decimal) = 13C3 (Hex) = 0001001111000011 (Binary)
For Nortel 000100111100 = 316 is the cell ID and 0010 = 3 is the sector ID
For Lucent 000111000011 = 451 is the cell ID and 0011 = 3 is the sector ID
For Motorola 0001001111000 = 632 is the cell ID and 011 = 3 is the sector ID.