Epistemic foundations for set-algebraic representations of knowledge