Pretty clever. My attempts at similar stuff have failed, but I'm sure it's possible. Make sure you wake up quickly after you've heard the name to avoid forgetting it again.