Updating create method to use an allocated ID if new struct has a ID field that's empty