fixed ModelResource handling of non integer ids in the url