Use key.id_or_name in templates rather than key.name
This is to allow for usage of auto-id's.
Patch by: Sverre Rabbelier
A list of bugs is available in the Google App Engine SDK project on Google Code.The issue tracker is at http://code.google.com/p/googleappengine/issues/.