added a setter for Id attribute