Added genereting primary keys for fixture models #278.

This is fix for #278 issue.