retrieve correct resource id when package name is overriden