Ms. Mowlam , known for her lively and direct style , was elected to parliament in 1987 and became Northern Ireland Secretary in 1997 .