Add ability to specify "id" for mksafe operator

useful for debugging purposes