Escape primary key in raw sql query _saveHasAndBelongsToMany , see #27