Interesting note. In 4.4 our improved pseudoconstant system will automatically translate names into values. So the api.optiongroup.get and optionvalue.get calls are actually not necessary :)
For this param you can just do `'activity_type_id' = 'Petition'`