gold gets a festive lift, tops rs 31,000-mark