I don't think I quite follow. Since when is Basen posing as an eunuch? He's not working in the inner palace like Jinshi, so there would be no reason for him to be one.
From my understanding, Rakan knows Jinshi's identity (the imperial brother) just because he's that "perceptive" or whatever do...