Sample preparation in alkaline media