What function does religion serve then?
Many, but in this context: Search for Truth beyond that which can be known using the tools of science and philosophy (reason/logic). This is primarily where Dawkins, and scientism in general, makes the epistemological error.
I think ID skates close, sometimes crossing into the same error. Where it doesn’t it provides some interesting possible avenues, science to science. This is the debate I’d like to see.
But both sides would need in both science and philosophy to conduct it.
So far I haven’t seen it, though I’m not completely informed on all of ID, just the basics. As I said before Dawkins is immensely ill-equipped for it. I hope someone else comes along, it could be very elevating for the field and for the culture.