Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
Refactor v2-compatible reference types to be wrappers over corresponding types from v2. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
Remove nil if-statement from IDFromV2 function to which avoids checking the correctness of the identifier format. From now IDFromV2 returns format error on nil argument. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>