The name of an attorney of record for the plaintiff, and for the defendant, if any, shall be indorsed on such execution by the officer signing the same.