Add support for specifying prefix for automatically created id