Deterministically generate a code name from a string token