Adds an id primary key field to the user_hostgroup relationship

refs commit:28d1dd18