code: def register_identity(self, id_stmt):
          
          bst = id_stmt.search_one("base")
          if bst:
              bder = self.identity_deps.setdefault(bst.i_identity, [])
              bder.append(id_stmt)
docs: Register `id_stmt` with its base identity, if any.