Police have identified the man who opened fire on the University of Texas campus before killing himself as a 19-year-old student from Austin.