added base getId method for mortar and implement getId on dataswap