Allow pager element to be specified in place of auto-generated pager

This change will allow `pager: '#some-identifier'` to be passed as an argument, and will use the user-supplied pager instead of auto-generating a pager.