New Zealand authorities are racing to identify the 50 people killed in a massacre at two mosques so that their families can bury them in accordance with Muslim tradition.