Republicans attempt to add voter ID to spending bill