validates based on type and id
adds order to category and tag