added method for getting instance-id from core