I've noticed that SF related lists are anchored (#) by a concatenation of the current record's Id, an underscore, the Id of the related list's object definition, and then "_target" (e.g. #a4Ve00000009CGU_00Ne0000000FKYu_target).
I'm building an app that generates links to SF records and I'd prefer to add to the generated links an anchor to a specific related list, but I can't find a way to get the object definition's id. describeSObject doesn't seem to get it done (unless I'm missing something).
Anyone know if this is possible?