Renaming resource IDs to match views