Should not we using the default getId from AtomEntity ? Is the XPath different ?