Basis of law regulation of trademark