Convert atom names to the appropriate style.