Added the param_id field to the database, and modified code to deal with it.
The content of that field is still faked, however. Next commit will fix that.