Generate resource id from path

http://manage.dimagi.com/default.asp?144456#817039

Took @ctsims suggestion to generate the resource id from the install path instead of the unique id