tw_check_qid function

Ensures that input appears to be a valid Wikidata id