extract_term_id no longer converts string IDs to ints

Topics and facility IDs are now strings. For whatever reason
this works better with ElasticSearch. Deal with it.