The Eid prayer is a collective duty, which means that when some Muslims offer it, the rest are not accountable for their omission. If no one offers it, then all share in the sin. This is because it is one of the clearest manifestations of the Islamic identity of the community. Moreover, the Prophet (peace be upon him) always did it, as did his Companions after he had passed away.