Marianne Beth (1890–1984), Rechtswissenschaft, Orientalistik