Controlling Glycan Folding with Ionic Functional Groups