setId method in AtomEntity