Add id validation for rack, room, device and building

Add validation + unit tests