Similar Items: The role of spacer length and flexibility in peptide self-assembly