Creates a reference field based on the category of an article.