Section 24. Every field driver shall take up horses, mules, asses, neat cattle, sheep, goats or swine going at large in the public ways, or on common and unimproved land within his town and not under the care of a keeper; and any other inhabitant of the town may take up such cattle or beasts so going at large on Sunday, and for taking up such beasts on said day the field driver or such other inhabitant of the town may in tort recover for each beast the same fees which the field driver is entitled to receive for taking up like beasts.