check id legal