code: def local_id(address: str) -> str:
      return os.path.basename(address)
  
file_path: determined/harness/determined/cli/agent.py
imports: import argparse
  import collections
  import operator
  import os
  import sys
  import typing
  from typing import Any, Callable, Dict, List
  import determined.cli.render
  from determined import cli
  from determined.cli import errors, render
  from determined.cli import task
  from determined.common import api, check
  from determined.common.api import authentication, bindings
  from determined.common.declarative_argparse import Arg, Cmd, Group
label_desc: Use image node_id 1 for calling a global function with example usage: local_id(address) and returns: os