Find lowest value in a list of dictionaries in python,return min(d['id'] for d in l if 'id' in d)