I am developing Google App Engine application written in Python and using Endpoints API. In conjunction, I am writing a Chrome Extension to interact with the Endpoints API.
I have just recently run into this headache. However, after some testing it appears that with 1.9.2 user.user_id() returns None on the local development server. However, if you deploy, it will return a value. Not sure if this is the App Engine ID or Google+ ID though. Anyway to find out?
However, given the documentation, I assume the ID it does return is safe to use for persistent records.