Rogues yarn

A coloured yarn embodied in the lay of a rope to identify either its composition or its ownership. Like the devices embodied in bank-notes, it was originally a deterrent to those rogues who sought to earn a little extra by selling government property from the dockyards.