Is ID required if I'm staying in the hostel?

We require 2 pieces of ID from each guest. One must be a government issued ID with a photo and the second piece can be a student ID or bank card.