Disallow ":" in identifiers, but still allow it in metric names.

Change-Id: Iace925ab1b71a360bd63357e87f68e727f7afbcb