Indistinguishability and the origins of contextuality in physics