Filled soul gems found in the game do not indicate which soul they have in them until the player equips it. I have no idea how I would solve this.  I would need to attach a soul to any soul gem that randomly shows up in the world and assign souls to all the gems sold by merchants.