getter and setter for id field added