We have relied on a mix of common sense, the sound of the name in Arabic, and common usage in source materials, the press, or government documents.
We have relied on many things, but mostly the sound of the name in Arabic.