A trust-based approach to clustering agents on the basis of their expertise