context refactoring: following up to the style change of r6057, introduce get_shortname instead of the `Resource.shortname` method.
Authored by: cboos 2007-10-18
Parent: [r6062]
Child: [r6064]