set data in token
have node get name return class name when a name is not set