modified DoctrineWriter's setValue to check for manyToMany add methods