Simplify detection of Bluetooth Base UUID derived uuids

This avoids unnecessary code duplication.

Change-Id: I9e49cf3c5e524cf7b3ef811b4640d5248c2ba1b0
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>