childrenName config parameter added

Added the useful childrenName parameter to easily detect the children
branch where to loop.

Unit tests included.

closes #1