Add support for BRANCHID tag (Issue 47).