The Scottish dramatist David Greig has written a solemn and searching work about a faith-shattering act of violence.