PIM-3508 : take context in account to identify an entity to version