queries Entrez directly to get the ids