def pids_value_dict(profDict, value):
   """ Creates a dictionary with the key being 'pid' and the values being the 
       value in a prof entry with key 'value'.
   """
   pidsDict = {}
   for prof in profDict:
      pidsDict[prof['pid']] = prof[value]
   return pidsDict