A unified approach to AHP with linking pins