In an ill-tempered second-half veteran striker Hassan failed to score after the Esperance keeper, Jean-Jacques Tizie, had left his line to close down on Emam.
Centre-back Martis dallied on the ball and Gerrard robbed him of possession, drove through on to the home goal and lifted a shot over the on-rushing keeper Dean Kiely to score his 24th goal of the season.