Five minutes after the break, Lampard's chipped through-ball found the Frenchman, who beat the offside trap on the left and bore down on goal before rifling his shot past James and into the roof of the net from a tight-angle.
Hamilton started the brighter, but the most direct threat on goal came from Rangers' Kenny Miller who scampered like an Easter bunny down the left wing and bore into the box before testing Cerny at the near post.