Add route constraint that allows dots in ids.