Syarif Osman: Herkunft, Familie und Legitimation