try/excepted all of the TypeErrors in get_id.py