Section::getSection: accept name or id

Part of issue #354
Merge pull request #418 from gicmo/section_by_name

Section::getSection: accept name or id