Wrap the ID in <bdi> tags for RTL locales