Just a word about the smart drop system which was mentionned, in a game with fix classes, you can have a smart drop system providing you an item you can wear with suitable bonus, but in a game like the Divinity you can build up your character the way you want so the way you want to balance his stats is entirely up to you. In those conditions, it is hard to judge what is or is not a suitable loot so talking about smart drop system is in my opinion irrelevant
You don't have the option of looking at a class, but you can certainly look at the chosen skills and attributes.
You can also go the more open route of popping up a (limited) choice of items and telling the player to choose one as a reward.