Someone had a similar idea as I had but in a more inventive way. Basically it would enable/disable certain entity function based on the purpose of the docked entity. My personal favorite part is the one for ship part rail dockers. dockers for rail entities like hanger doors, elevators, etc. that merge the system stats of the docked entities with that of the mothership so they dont feel like dead weight.
Its a very well written post but i feel that instead of three dockers we could just have a specific one for ship parts. meaning that we would have only 2 types of rail dockers