Update DboSource.php

Not every model has a primary key, so there are errors while saving data. It's necessary in various cases.