Defensive check for section id in constructor.