code: def _extract_extract_identifiers_result(
      results_base: beam.pvalue.DoOutputsTuple,
      results_test: beam.pvalue.DoOutputsTuple,
  ) -> Tuple[
      beam.PCollection[Tuple[str, tf.train.Example]],
      beam.PCollection[np.ndarray],
      beam.PCollection[Tuple[str, tf.train.Example]],
      beam.PCollection[np.ndarray],
  ]:
      """Extracts results of _ExtractIdentifiers and fixes type hints."""
  
      keyed_base_examples = results_base[
          _KEYED_EXAMPLE_KEY
      ] | "FixKeyedBaseType" >> beam.Map(lambda x: x).with_output_types(
          Tuple[str, tf.train.Example]
      )
      missing_id_base_examples = results_base[
          _MISSING_IDS_KEY
      ] | "BaseMissingCountsToMatchCounter" >> beam.Map(
          lambda x: _make_match_stats_counter(
              ids_missing_in_base_count=x
          )
      )
  
      keyed_test_examples = results_test[
          _KEYED_EXAMPLE_KEY
      ] | "FixKeyedTestType" >> beam.Map(lambda x: x).with_output_types(
          Tuple[str, tf.train.Example]
      )
      missing_id_test_examples = results_test[
          _MISSING_IDS_KEY
      ] | "TestMissingCountsToMatchCounter" >> beam.Map(
          lambda x: _make_match_stats_counter(
              ids_missing_in_test_count=x
          )
      )
  
      return (
          keyed_base_examples,
          missing_id_base_examples,
          keyed_test_examples,
          missing_id_test_examples,
      )
  
imports: from typing import Any, Dict, Iterable, Iterator, List, Optional, Tuple, Union
  import apache_beam
  import farmhash
  import numpy
  import tensorflow
  from tensorflow_data_validation import constants
  from tensorflow_data_validation import types
  from tensorflow_data_validation.utils import artifacts_io_impl
  from tensorflow_data_validation.skew.protos import feature_skew_results_pb2
label_desc: Use image node_id 12 for calling a global function with example usage: _extract_extract_identifiers_result(results_base, results_test) and returns: keyed_base_examples,  missing_id_base_examples,  keyed_test_examples,  missing_id_test_examples