Write SQL query to solve given problem: Identify all restaurants in Contra Costa County by id.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT T1.id_restaurant FROM location AS T1 INNER JOIN geographic AS T2 ON T1.city = T2.city WHERE T2.county = 'contra costa county'