Use Resource.IDENTIFIER everywhere

And not only in ResourceFactory._get()