Those you can find with another separate mini-query to the database, for example:
SELECT id FROM categories WHEre name = 'Category Name'
Those you can find with another separate mini-query to the database, for example:
SELECT id FROM categories WHEre name = 'Category Name'