Decoding the popularity of a name