Respect pre hook for relationship to alter id in $params
I don't want to create duplicate relationship and want to bypass the rule https://github.com/civicrm/civicrm-core/pull/6515 using an extension. I am using pre hook to send $params['id'] but CRM_Contact_BAO_Relationship::add() doesn't use $params['id'] after pre hook is invoked and leads to duplicate relationship.
PR(https://github.com/civicrm/civicrm-core/pull/12834) fixes the above problem and allows hook to send $params['id'].