Change position to id for entity messages.