Toward a universal theory of consciousness