fixes #4394 - generate class method on AR collections to retrieve used_taxonomy_ids