Require Category title to be unique.
Require Article to have a unique title and correctly formatted category_id.