function for extracting NCBI taxon id from a seq record