Update problem and affiliation IDs to numeric values.