add support for $Id$ tags

Change-Id: If7727b4d53d1d42636c9e0d91a46db619bc710cb