Skip writing attribute section if no values
Collect synonyms and process in one go
Removed old code, use NCBI accessions