create object with specified ID