It depends on the type of train ticket or fare you bought. While rail passes are issued in the name of specific passengers and must match that traveler's passport, regular e-tickets or train tickets as of now are not associated with specific passengers and conductors do not require ID on the train.