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