Modified algorithm for identifying longest partnership. Changesd
name of attribute from  "primary.sdp" to "longest.ptshp"