The government has revealed each secondary school will attract a minimum of £5,150 per pupil and each primary a minimum of £4,000 from 2021.