checks id