Text this: Phase transitions in ferroelectric domain walls