Make the CSS ID available in the custom navigation module (see #6129)