Checks for duplicate ids within a single layout

Within a layout, id's should be unique since otherwise findViewById() can return an unexpected view.