The isomorphism problem for finitely generated fully residually free groups