Probing the effect of microenvironment on the enzyme-like behavior of catalytic peptide assemblies.