Complete rewrite.  Easily extensible now.  Does not attempt to dedup.
Output bf:authorizedAccessPoint and bf:title as label, when appropriate.