Protein polymers: Encoding phase transitions.