CustomIdType::convertToDatabaseValue() support for id (strategy = INCREMENT)

Current CustomIdType::convertToDatabaseValue() passes the value unchanged. However, when strategy is INCREMENT we want that value to be an integer. So we can use it this way:
```php
$repository->find($request->get('id'))
```

We have to pass field mapping in order to be able to detect the strategy. I hope this is acceptable.