Quantum identity, content, and context: from classical to non-classical logic