MDL-38390 qformat_blackboard_six: use pool title as category name

If the category title is empty, generate a sequentially-numbered
title to use instead.