def get_tag(body):
  """Get the annotation tag from the body."""
  if not isinstance(body, list):
      body = [body]
  try:
      return [b['value'] for b in body if b['purpose'] == 'tagging'][0]
  except IndexError:
      return None