Wouldn't you just save metadata such as you describe with the bond information when you save it to flash?
Otherwise, bond data in-and-of-itself is too generic to use as a logic comparison imo.
Every Bonded device will be assigned a unique bdHandle.
For Example: When first time your Peripheral device Connects and Bonds to the Tablet, The Tablet will be assigned a bdHandle (cyBle_connHandle.bdHandle=4 ) equal to 4 . Now when you Connects and Bonds to the PC , then the PC will be assigned a bdHandle=3.
Now, When next time you connects to a tablet ,as soon as you connect , You can check the 'bdHandle' if the bdHandle is 4 which means your connected device is tablet.