code: def geo_context_from_ref(self, ref):
          
          value = ref.get('value')
          if value:
              # Here we get the RefContext from the stashed geoloc dictionary
              rc = self.doc.geolocs.get(value['@id'])
              return rc
          return None
docs: Return a ref context object given a location reference entry.