Hierarchical self-assembly and emergent function of densely glycosylated peptide nanofibers