docs: def bind(self, model, template="{}"):
          """Bind the ``model`` to the reference. This uses the model's
          ``id`` attribute and the given ``template`` to
          dynamically produce a uri when accessed.
          """
          self._bound_model = model
          self._uri_template = template
          self._set_uri_from_bound_model()