Linking genotype to phenotype on beads: high throughput selection of peptides with biological function