generate resource category name