On Computational Mechanisms for Shared Intentionality, and Speculation on Rationality and Consciousness