Thanks for the clarification, Thomas.
But I still don't understand: if it's so simple to implement GetByName functionality, why do I have to implement it? Shouldn't all collections support this method, for consistency at least?
I understand TomO's rationale, but if I am asking for a package by name, it's because I know that in my model, package names are unique (at the same hierarchical level, at least).
Also, Phil Bachmann's response to Thomas' bug report said that "only Models, Packages, Elements and Diagrams collections support the GetByName method", but TomO says that Packages don't support it.
Finally, whatever the outcome, please update the documentation accordingly. Thomas filed the bug against v4.1 and 4.51's documentation still doesn't mention it.