A system for principled matchmaking in an electronic marketplace