Convert the operators constraint to use an enum rather than a string; pprint ids properly.