added validator for unique media id within department and collection