Returns the annotation with the given id, or null if not found.
id
T? byId(String id) => _idToAnnotation[id];