* in db_insert_pdata use name if there is no rule to create id
* some documentation and more options in db_insert_pdata