adding support for role attributes on chapters and sections