code: def get_uniq_id_with_period(path: str) -> str:
      """
      Get uniq_id from path string with period in it.
  
      Args:
          path (str): path to audio file
      Returns:
          uniq_id (str): unique speaker ID
      """
      split_path = os.path.basename(path).split(".")[:-1]
      uniq_id = (
          ".".join(split_path) if len(split_path) > 1 else split_path[0]
      )
      return uniq_id
  
imports: import json
  import os
  from collections import Counter
  from collections import OrderedDict
  from pathlib import Path
  from typing import Dict, List, Union
  import librosa
  import numpy
  from nemo.collections.asr.parts.utils.speaker_utils import audio_rttm_map, get_subsegments, get_uniqname_from_filepath, rttm_to_labels, segments_manifest_to_subsegments_manifest, write_rttm2manifest
  from nemo.utils.data_utils import DataStoreObject
label_desc: Use image node_id 4 for calling a global function with example usage: get_uniq_id_with_period(path) and returns: uniq_id