Replace deprecated PropertyPath call in EntityToIdTransformer.php