With version 1.8 and above DisableConcurrentExecution should support this by passing a string format that will format the method's parameters.
[DisableConcurrentExecution("Id:{0}", 10)]
void Do(int id) { }
I couldn't find documentation, but here is the commit that added this feature.
This article also mentions it at 4. Prevent Concurrent execution of Hangfire jobs