Polyamino acids as synthetic enzymes: mechanism, applications and relevance to prebiotic catalysis