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