Irish pennant

Noun

 * 1)  A loose or untidy end of a line or other part of the rigging of a sailing ship
 * 2)  A loose thread of a naval or military uniform; also the loose end of any knot not tied properly