function getParentID(id) {
  return id ? id.substr(0, id.lastIndexOf(SEPARATOR)) : '';
}
Gets the parent ID of the supplied React DOM ID, `id`.

@param {string} id ID of a component.
@return {string} ID of the parent, or an empty string.
@private