add ids to models