dal.py: BaseAdapter: insert: solved problem when creating new record without passing the primary key as argument