Setting the id of an object to property in a nested Object on creation - C#