Replace <bdi> and </bdi> with Unicode markers in titles
Wrap the ID in <bdi> tags for RTL locales