getting ids for views