A Basis of Conservation Laws for Partial Differential Equations