Added an Identifier to Alarm and changed the constructor of alarm and subclasses to receive an external id.