Biomolecular recognition and protein dynamics in amyloid aggregation