Publisher has method getServerPrefix.
Refactoring of getIdPrefix in Publisher.
ID prefix can be requested from server.
Merge pull request #5 from cleandart/id-negotiation

Id negotiation