public static int getTagFieldNumber(final int tag)
    {
        return tag >>> TAG_TYPE_BITS;
    }
Given a tag value, determines the field number (the upper 29 bits).
protostuff-api/src/main/java/io/protostuff/WireFormat.java