Livestock tracing scheme to be compulsory