I believe the correct answer is A. has a double meaning, both of physically punishing and the hammering that a blacksmith does.
In this excerpt from “Great Expectations” written by Charles Dickens, the action of "hammering" has double meaning, both of physically punishing Joe and his mother (“he hammered away at my mother, most onmerciful”), and the hammering that blacksmith does (“he didn't hammer at his anwil.”).