internal: add Shape#getIdentifier for managing an identifier of Shape

The identifier of Shape is generated by goog.string#createUniqueString.