Namehashing on P and X-Chain

Hi there,

I am looking into how namehashing could work in P and X-Chain so that if a registrar and resolvers would be created on C-Chain there would be the ability to use the same human-readable name to transfer assets to P or X-chain. This is simple on C-Chain thanks to EIP-137. However, I am curious how we could ensure that whatever naming service is created and deployed on C-Chain would be usable on P and X-Chain. Any ideas on someone who has already worked on finding a solution for this?