Using id:s for categories to. I actually had good test coverage for this refactor, yaay! Close #51