When, in a judgment against sureties or endorsers on a draft, promissory note, or other instrument in writing, the plaintiff or his attorney has designated and identified the relation of the parties under the contract on which the judgment was rendered, execution shall issue accordingly.
OCGA § 9-13-30