title: WebfactoryPolyglotBundle use causes error "No mapping found for field 'id' on class 'AppBundle\Entity\Film'."
body: <p>I use the Symfony version 3.4.0 and I try to use this bundle to translate entities : <a href="https://github.com/webfactory/WebfactoryPolyglotBundle" rel="nofollow noreferrer">https://github.com/webfactory/WebfactoryPolyglotBundle</a></p>
  
  <p>So I created two entities ( Film and FilmTranslation ) for the test</p>
  
  <p>Here my Film.php</p>
  
  <pre><code>&lt;?php
  
  namespace AppBundle\Entity;
  
  use Doctrine\ORM\Mapping as ORM;
  
  use Webfactory\Bundle\PolyglotBundle\Annotation as Polyglot;
  use Webfactory\Bundle\PolyglotBundle\TranslatableInterface;
  use Doctrine\Common\Collections\Collection;
  use Doctrine\Common\Collections\ArrayCollection;
  
  /**
   * Film
   *
   * @ORM\Table(name="film")
   * @ORM\Entity(repositoryClass="AppBundle\Repository\FilmRepository")
   * @Polyglot\Locale(primary="fr_FR")
   */
  class Film
  {
      /**
       * @var int
       *
       * @ORM\Column(name="id", type="integer")
       * @ORM\Id
       * @ORM\GeneratedValue(strategy="AUTO")
       * @Polyglot\TranslationCollection
       */
      private $id;
  
      /**
       * @var string
       *
       * @ORM\Column(name="Titre", type="string", length=255, unique=true)
       * @Polyglot\Translatable
       * @var string|TranslatableInterface
       */
      private $titre;
  
      /**
       * @ORM\OneToMany(targetEntity="FilmTranslation", mappedBy="entity")
       * @Polyglot\TranslationCollection
       * @var Collection
       */
      private $translations;
  
      public function __construct()
      {
          $this-&gt;translations = new ArrayCollection();
      }
  
      /**
       * Get id
       *
       * @return integer
       */
      public function getId()
      {
          return $this-&gt;id;
      }
  
      /**
       * Set titre
       *
       * @param string $titre
       *
       * @return Film
       */
      public function setTitre($titre)
      {
          $this-&gt;titre = $titre;
  
          return $this;
      }
  
      /**
       * Get titre
       *
       * @return string
       */
      public function getTitre()
      {
          return $this-&gt;titre;
      }
  
      /**
       * Add translation
       *
       * @param \AppBundle\Entity\FilmTranslation $translation
       *
       * @return Film
       */
      public function addTranslation(\AppBundle\Entity\FilmTranslation $translation)
      {
          $this-&gt;translations[] = $translation;
  
          return $this;
      }
  
      /**
       * Remove translation
       *
       * @param \AppBundle\Entity\FilmTranslation $translation
       */
      public function removeTranslation(\AppBundle\Entity\FilmTranslation $translation)
      {
          $this-&gt;translations-&gt;removeElement($translation);
      }
  
      /**
       * Get translations
       *
       * @return \Doctrine\Common\Collections\Collection
       */
      public function getTranslations()
      {
          return $this-&gt;translations;
      }
  }
  
  </code></pre>
  
  <p>And here my FilmTranslation.php</p>
  
  <pre><code>&lt;?php
  
  namespace AppBundle\Entity;
  
  use Doctrine\ORM\Mapping as ORM;
  use Webfactory\Bundle\PolyglotBundle\Entity\BaseTranslation;
  
  /**
   * FilmTranslation
   *
   * @ORM\Table(name="film_translation")
   * @ORM\Entity(repositoryClass="AppBundle\Repository\FilmTranslationRepository")
   * @ORM\Table(
   *      uniqueConstraints = {
   *          @ORM\UniqueConstraint(columns={"entity_id", "locale"})
   *     }
   * )
   */
  class FilmTranslation extends BaseTranslation
  {
  
      /**
       * @var string
       *
       * @ORM\Column(name="titre", type="string", length=255, unique=true)
       */
      private $titre;
  
      /**
       * @ORM\ManyToOne(targetEntity="Film", inversedBy="translations")
       * @var Film
       */
      protected $entity;
  
      /**
       * Set titre
       *
       * @param string $titre
       *
       * @return FilmTranslation
       */
      public function setTitre($titre)
      {
          $this-&gt;titre = $titre;
  
          return $this;
      }
  
      /**
       * Get titre
       *
       * @return string
       */
      public function getTitre()
      {
          return $this-&gt;titre;
      }
  
      /**
       * Get id
       *
       * @return integer
       */
      public function getId()
      {
          return $this-&gt;id;
      }
  
      /**
       * Set locale
       *
       * @param string $locale
       *
       * @return FilmTranslation
       */
      public function setLocale($locale)
      {
          $this-&gt;locale = $locale;
  
          return $this;
      }
  
      /**
       * Set entity
       *
       * @param \AppBundle\Entity\Film $entity
       *
       * @return FilmTranslation
       */
      public function setEntity(\AppBundle\Entity\Film $entity = null)
      {
          $this-&gt;entity = $entity;
  
          return $this;
      }
  
      /**
       * Get entity
       *
       * @return \AppBundle\Entity\Film
       */
      public function getEntity()
      {
          return $this-&gt;entity;
      }
  }
  
  </code></pre>
  
  <p>I'm able to create a form but when I try to persist and flush I've the following error : </p>
  
  <blockquote>
    <p>No mapping found for field 'id' on class 'AppBundle\Entity\Film'.</p>
  </blockquote>
  
  <p>Is something I'm doing wrong ?</p>