Added setID method so ID can be properly initialized