Add utility method to find a section with a given id (+tests)

Change-Id: Id85c2a9dce1780e5a52500aa1d9dceea7789a025