Dunno about MD, but up here your status as a ped or vehicle depends upon where you're riding: ped if on the sidewalk, vehicle if on the road. Used to required for sidewalk cyclists to dismount before entering the crosswalk, but that was rescinded years ago.