Text this: Functional amyloids promote retention of public goods in bacteria