code: def _add_sample_id(  # pylint: disable=invalid-name
      slice_key,
      metrics_dict: metric_types.MetricsDict,
      sample_id: int = 0,
  ):
      # sample_id has a default value in order to satisfy requirement of MapTuple
      return slice_key, confidence_intervals_util.SampleMetrics(
          metrics=metrics_dict, sample_id=sample_id
      )
  
file_path: model-analysis/tensorflow_model_analysis/evaluators/poisson_bootstrap.py
imports: from typing import Any, Optional, Set, Tuple, TypeVar
  import apache_beam
  import numpy
  from tensorflow_model_analysis.api import types
  from tensorflow_model_analysis.evaluators import confidence_intervals_util
  from tensorflow_model_analysis.metrics import metric_types
  from tensorflow_model_analysis.slicer import slicer_lib
  from tensorflow_model_analysis.utils import beam_util
label_desc: Use image node_id 1 for calling a global function with example usage: _add_sample_id(slice_key, metrics_dict, sample_id) and returns: slice_key,  confidence_intervals_util