There was a sense of inevitability about the attacks in Paris on Friday.