checkarg_fetch_id_data function

Check if data for fetch_id() is correct