Attachments for lifelines and lanyards