Replace my implementation of getNewId with official View.generateViewId()

View.generateViewId() is only available in API >= 17, so want to be able to use it everywhere.  My implementation can possibly cause conflicts with statically defined IDs in R.