How to get block instance id in block plugin?
No there isn't. 

Block plugins can also be used in e.g. page manager and then there's no block entity, it stores configurations for multiple block plugins in a single config entity.

So you shouldn't be relying on the existence of that and instead pass in the relevant configuration to your lazy builder.