Attempt to guess the entity, if the ID is not set.
Attempt to guess the token by label if the ID is not set.