docs: def get_state_identifier_for_page(self, page):
          """Return the state identifier for a given page
          """
          for identifier, page_info in list(self.tabs.items()):
              if page_info["page"] is page:  # reference comparison on purpose
                  return identifier