If token has a code attrribute, always make it unique