@mixin active($selector) {
#{$selector} {
color:black;
}
}

#my-id {
@include active($selector: ".my-class")
}