fixed #504.  compare now does not make assumptions about type, but attempts to resolve ids using id prefixes.  gene comparisons are limited to NCBIGene identifiers.