converts pmid pmcid to strings for concatenation