feat(formatCollection): add setAttributeRenderHook() (closes #5195)