Assign id as name when all else fails
Merge pull request #2473 from dotcloud/remove-panic-from-name

Assign id as name when all else fails