Text this: A dynamic entanglement model for adaptive networks in amorphous polymers with pH-responsive dual-shape memory effect