def get_ids( args ):
  """ 
  reads in the idfile and returns a hash, mapping record names to IDs
  """
  idhash = {}
  fo = open( args.get('idfile') )
  for line in fo:
    recordname, recordid = line.split()
    idhash[ recordname ] = recordid
  return idhash