The analysis of crack tip fields in ferroelastic materials