Implement Optional for Id