Factorisation of Algebraic Expressions Using Identities