How to access Attiny84 port B in Arduino IDE code?
According to the ATtiny web-page the pin/ports are numbered as below:



The physical pin 2 is the Arduino ATtiny core pin 10. You can also find this well documented in the pins_arduino.h file. 

Cheers!