You cannot, because it is one and the same.
The fact that entities have an encoded string key plus either an integer identifier or a string name can give the erroneous impression that the various ways of referencing an object are overlapping or redundant. This is not true.
. - , . , .
Key.from_path:
k = Key.from_path('User', 'Boris', 'Address', 9876)
kind=User&name=Boris , kind=Address&name=9876 , . - .
App Engine , , , ergo . , , , n 2 ^ (n + 1) .