// ========================================================================
// ElementIdFactory implementation
public ElementId getIdFor(ProgramElementDoc ped) {
if (ped == null) throw new IllegalArgumentException("null ped");
IndigenousAnnoExtractor iae = ProgramElementJavadocIAE.create(ped,mJTiger);
if (ped instanceof PackageDoc) {
return ElementIdImpl.forPackage(iae,ped.name());
} else if (ped instanceof ClassDoc) {
return ElementIdImpl.forClass(iae, ped.name());
} else if (ped instanceof FieldDoc) {