Let foreign key generate its identifier by itself

![https://i.warosu.org/data/diy/img/0007/16/1414419099085.gif](Mind Blown)
Merge pull request #1 from pminnieur/patch-1

Let foreign key generate its identifier by itself